OPTIONS:=

SOURCES:=$(wildcard *.md)
TARGETS:=$(SOURCES:.md=.pdf)

all: $(TARGETS)

$(TARGETS): $(SOURCES)
	pandoc `echo $@ | sed -e "s/pdf/md/"` -V fontsize:12pt -V geometry:"top=2cm, bottom=2cm" -o $@

clean:
	rm -rf *.pdf
